package edu.cmu.vlis.wassup.databean;

/**
 * This class is used to map the relationship between announcement and user
 * @author Jassica
 *
 */
public class EventTag {
	// private parameters, which delegate user's different information
	 private Event eventId = null;
	 private String tag = null;
	 
	 public EventTag(Event eventId, String tag) {
		this.eventId = eventId;
		this.tag = tag;
	}	 
	 
	public Event getEventId() {
		return eventId;
	}

//	public void setEventId(Event eventId) {
//		this.eventId = eventId;
//	}

//	public void setTag(String tag) {
//		this.tag = tag;
//	}

	public String getTag() {
		return tag;
	}
	
	@Override
	public String toString() {
		return "Event - " + eventId.getName() + " with Tag - " + tag;
	}
}

